<?php

class CashConvertPurchasePageLink extends Extension {
	function getCashConvertPurchase(){
        $page = CashConvertPurchase::get()->find('ClassName', 'CashConvertPurchase');
        if($page) return $page;
    }
    
    function getCashConvertPurchaseLink() {
        $page = $this->getCashConvertPurchase();
        if($page) return $page->Link();
    }
	
    function getCashConvertPurchaseStatement(){
        $page = CashConvertPurchaseStatementPage::get()->find('ClassName', 'CashConvertPurchaseStatementPage');
        if($page) return $page;
    }
    
    function getCashConvertPurchaseStatementLink() {
        $page = $this->getCashConvertPurchaseStatement();
        if($page) return $page->Link();
    }
}
